Release 10.1A: OpenEdge Development:
Progress Dynamics Web Development Guide
TreeView commands and functions
You can use the JavaScript API to control the following client-side processing:
Clearing the current TreeView
You can clear data from the current TreeView with the following statement:
This command clears data from nodes below the parent node specified by
parent_row_number. Ifparent_row_numberis omitted, the entire TreeView is cleared.Identifying TreeView data structure
Use the following statement to get information about the data structure of the current TreeView:
The value of
elementcan be any of the following:
Capturing TreeView events
You can create a function,
tvEvent, in your client-side JavaScript to capture TreeView events. Use the following syntax:
For
event, you must use one of the following:
Example
The following example illustrates the use of some of the TreeView API calls:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |